Merge reference implementation SDK changes (2026-05-04)#154
Closed
Merge reference implementation SDK changes (2026-05-04)#154
Conversation
…ePendingWork, and MCP OAuth fields from reference implementation Co-authored-by: edburns <75821+edburns@users.noreply.github.com>
…n, instructionDirectories, continuePendingWork Co-authored-by: edburns <75821+edburns@users.noreply.github.com>
…om.xml CLI version, and update scripts/codegen @github/copilot version Co-authored-by: edburns <75821+edburns@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Sync reference implementation with 16 new commits
Merge reference implementation SDK changes (2026-05-04)
May 4, 2026
Collaborator
|
Closing: PR #151 was merged first covering most of this content. The remaining features (continuePendingWork, MCP OAuth, .lastmerge sync to c063458) will be picked up by the next scheduled reference-impl sync. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Resolves #149
Before the change?
e42b726ca42bd1b2e099a956c9287ba9435ba3e5copilotHome,tcpConnectionToken,instructionDirectories,continuePendingWork, or MCP OAuth fieldsAfter the change?
Ports 16 commits from
github/copilot-sdk(e42b726→c063458).New client options:
copilotHome— setsCOPILOT_HOMEenv var on spawned CLI for custom data directorytcpConnectionToken— optional connection token for TCP servers; auto-generates UUID when SDK spawns CLI in TCP modeNew session config fields:
instructionDirectories— additional directories for custom instruction file discovery (create + resume)continuePendingWork— on resume, continue pending tool calls/permission prompts from prior suspendMCP OAuth support:
oauthClientId,oauthPublicClient,oauthGrantTypeonMcpHttpServerConfigNot ported (intentionally):
155e887Replace StreamJsonRpc — Java SDK has its own JSON-RPC implf8cf846Derive session event envelopes from schema — generated code onlyf7f9450/c063458/ced6613E2E test expansion — snapshots not yet available at old harness commit6a0e065Version update logic refinement — internal toolingPull request checklist
mvn spotless:applyhas been run to format the codemvn clean verifypasses locallyDoes this introduce a breaking change?